package com.wingsfrog.travel.service;

import com.wingsfrog.travel.controller.dto.response.MainTaskDetailResDto;
import com.wingsfrog.travel.controller.dto.response.MainTaskResDto;
import com.wingsfrog.travel.modules.entity.MainTask;

import java.util.List;

/**
 * Created by rankin on 16/3/30.
 */
public interface MainTaskService {
    List<MainTaskResDto> getMainTasks();

    MainTaskDetailResDto getMainTaskDetailById(Integer id, Integer userId) throws Exception;

    MainTask findOneOrFail(Integer id) throws Exception;
}
